package example;

import junitrunner.Runner;
import junitrunner.XmlWritingListener;
import org.apache.commons.cli.ParseException;
import org.junit.Test;

import java.io.IOException;

public class RealTest {
    @Test
    public void testRunner() throws IOException, ParseException, ClassNotFoundException {
        new Runner().run(new String[]{"-o", "reports", "example.TestCase1","example.TestCase2"});


    }

    @Test
    public void testTimestampFormatDoesntBlowUp(){
        XmlWritingListener.getIsoTimestamp();
    }
}
